<?php
// +-------------------------------------------------------------------
// |
// +-------------------------------------------------------------------
// | Copyright (c) 2009-2016 All rights reserved.
// +-------------------------------------------------------------------
namespace Service\Api\V1;

use Think\Model;

class CouponShareAdd
{
    public $login = true; //是否需要登录才能访问该接口
    public $title = "微信分享后获得券接口";
    public $group = '视力测试训练';
    public $desc = "";

    public $input = [
    ];

    public $output = [
    ];



    public function run($param, $uid)
    {
        $result = OE('User')->couponShareAdd($uid, $param);

        return [
            'id' => $result,
        ];
    }
}
